<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
  "http://struts.apache.org/dtds/struts-2.0.dtd">

<struts>
	<package name="admin" namespace="/admin" extends="main">
		<result-types>
			<result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult" />
		</result-types>
		
		<action name="doLogOut" class="it.fc.action.users.ActionLogOut">
         <result name="success" type="tiles">users.login</result>
        </action>
		
		<!-- user admin -->
         <action name="listUser" class="it.fc.action.users.ToListUser">
           <result name="success" type="tiles">users.listuser</result>
        </action> 
        <action name="deleteUser" class="it.fc.action.users.DeleteUser">
           <result name="success" type="redirectAction">listUser</result>
        </action> 
        
		<action name="PlayerList" class="it.fc.action.giocatori.PlayerList">
			<result name="success" type="tiles">giocatori.elenco</result>
		</action>
	</package>
</struts>
